package com.example.coolshark.mapper;

import com.example.coolshark.pojo.entity.Banner;

import java.util.List;

public interface BannerMapper {
    List<Banner> select();

    void deleteById(int id);

    void insert(String url);

    void deleteByUrl(String url);

    String selectUrl(int id);


    void update(Banner banner);
}
